import request from '@/utils/request'

// 查询会议室签到列表
export function listMeetingcheckIn(query) {
  return request({
    url: '/dailyoperations/meetingcheckIn/list',
    method: 'get',
    params: query
  })
}

// 查询会议室签到详细
export function getMeetingcheckIn(id) {
  return request({
    url: '/dailyoperations/meetingcheckIn/' + id,
    method: 'get'
  })
}

// 新增会议室签到
export function addMeetingcheckIn(data) {
  return request({
    url: '/dailyoperations/meetingcheckIn',
    method: 'post',
    data: data
  })
}

// 修改会议室签到
export function updateMeetingcheckIn(data) {
  return request({
    url: '/dailyoperations/meetingcheckIn',
    method: 'put',
    data: data
  })
}

// 接单报修
export function signMeeting(data) {
  return request({
    url: '/dailyoperations/meetingcheckIn/sign',
    method: 'put',
    data: data
  })
}

// 删除会议室签到
export function delMeetingcheckIn(id) {
  return request({
    url: '/dailyoperations/meetingcheckIn/' + id,
    method: 'delete'
  })
}
